package cn.sangyy.user.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * @author SangYY
 * @date: 2023/06/05/19:38
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BindWechatDto {
    @NotBlank(message = "手机号不能为空！")
    private String phone;
    @NotBlank(message = "验证码不能为空！")
    private String verifyCode;
    @NotBlank(message = "参数异常！")
    private String accessToken;
    @NotBlank(message = "参数异常！")
    private String openid;
}
